.class Lcom/nemustech/regina/ElementWorkspaceSwitcher$4;
.super Ljava/lang/Object;
.source "ElementWorkspaceSwitcher.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/ElementWorkspaceSwitcher;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ElementWorkspaceSwitcher;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ElementWorkspaceSwitcher;)V
    .locals 0
    .parameter

    .prologue
    .line 256
    iput-object p1, p0, Lcom/nemustech/regina/ElementWorkspaceSwitcher$4;->this$0:Lcom/nemustech/regina/ElementWorkspaceSwitcher;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 2

    .prologue
    .line 260
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceSwitcher$4;->this$0:Lcom/nemustech/regina/ElementWorkspaceSwitcher;

    invoke-static {v0}, Lcom/nemustech/regina/ElementWorkspaceSwitcher;->access$200(Lcom/nemustech/regina/ElementWorkspaceSwitcher;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getViewMode()I

    move-result v0

    const/4 v1, 0x4

    if-eq v0, v1, :cond_0

    .line 261
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceSwitcher$4;->this$0:Lcom/nemustech/regina/ElementWorkspaceSwitcher;

    invoke-static {v0}, Lcom/nemustech/regina/ElementWorkspaceSwitcher;->access$200(Lcom/nemustech/regina/ElementWorkspaceSwitcher;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ReginaLauncher;->setViewMode(I)V

    .line 262
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceSwitcher$4;->this$0:Lcom/nemustech/regina/ElementWorkspaceSwitcher;

    invoke-static {v0}, Lcom/nemustech/regina/ElementWorkspaceSwitcher;->access$600(Lcom/nemustech/regina/ElementWorkspaceSwitcher;)Lcom/nemustech/regina/RGWorkspaceHolder;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/regina/RGWorkspaceHolder;->unlock()V

    .line 263
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceSwitcher$4;->this$0:Lcom/nemustech/regina/ElementWorkspaceSwitcher;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/nemustech/regina/ElementWorkspaceSwitcher;->access$502(Lcom/nemustech/regina/ElementWorkspaceSwitcher;Z)Z

    .line 264
    return-void
.end method
